package com.ant.user.mapper;

import com.ant.user.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    void Insert(UserEntity userEntity);

    UserEntity SelectByContact(@Param("contact") String contact);
    UserEntity SelectByAccount(@Param("account") String account);

    void Update(UserEntity userEntity);
}
